package lixp.dao;

import lixp.dao.utils.MyMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

//因为是多模块开发,因此必须声明SpringBootApplication扫描的包
@SpringBootApplication(scanBasePackages = "lixp")
@MapperScan(basePackages = {"lixp.dao.mapper"},markerInterface = MyMapper.class )
public class DaoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DaoApplication.class, args);
    }
}
